package entities;

public class UserPass {
	private int userID;
	private String passwordHash;
	private String salt;
	public UserPass(){
		userID = -1;
		passwordHash = "";
		setSalt("");
	}
	public void setUserID(int userID) {
		this.userID = userID;
	}
	public int getUserID() {
		return userID;
	}
	public void setPasswordHash(String passwordHash) {
		this.passwordHash = passwordHash;
	}
	public String getPasswordHash() {
		return passwordHash;
	}
	
	public String toString(){
		return "( " + userID+ " , " + passwordHash + " , "+ salt+ " )";
	}
	public void setSalt(String salt) {
		this.salt = salt;
	}
	public String getSalt() {
		return salt;
	}
	
}
